home *** CD-ROM | disk | FTP | other *** search
/ HamCall (April 1991) / HAMCALL CD-ROM (Buckmaster)(April 1991).BIN / amateur / tmuf / tmuf.doc < prev   
Text File  |  1990-10-14  |  18KB  |  344 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                         TMUF
  8.  
  9.  
  10.  
  11.          TMUF was originally written in response to a  request  from  VS6DX
  12.          for  a  IBM  PC  program  that  would replace the commercial APPLE
  13.          program  he  had  been  using for predicting HF propagation. There
  14.          seemed to be a noticeable lack of Ham Radio Programs for  the  IBM
  15.          PC,  and no graphical MUF plotting program could be located. Hence
  16.          this program was written. Version 1.00 of TMUF has  been  finished
  17.          and  in  use since February 1986. Due to requests of many hams who
  18.          have seen it in operation, I am Placing it in Public  Domain,  and
  19.          encouraging  its  FREE distribution. TMUF may be shared with other
  20.          people under one condition;  that  there  is  NO  CHARGE  for  the
  21.          copy(s).
  22.  
  23.          There is obviously much room for improvement of the Program, and I
  24.          have since developed better ways of doing many of the functions in
  25.          TMUF. However, as the program fills my needs at the moment, I have
  26.          little incentive to rewrite it.
  27.  
  28.          TMUF  is  a  User Supported program. I am asking for a donation of
  29.          $20.00 for its use. If there is enough interest and support shown,
  30.          I will be updating and improving it. Otherwise,  it  does  what  I
  31.          need and will remain as is. Donations should be sent to:
  32.  
  33.  
  34.                             James W. Harrison W4HSR
  35.                             1904 Duke Drive
  36.                             Richardson, Texas 75081
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                     DESCRIPTION
  45.  
  46.          This  is  TMUF,  version  1.00, placed in the Public Domain by the
  47.          Author, W4HSR. It is a Turbo Pascal  version  of  MINIMUF  3.5  as
  48.          Described  in  the  December  1982  QST  article.  In  addition to
  49.          calculating and displaying the Maximum Usable Frequency (MUF)  and
  50.          the  Optimum  Working  Frequency  (FOT),  it permits you to easily
  51.          choose and change the Date and Flux value for the Calculation,  to
  52.          select the Transmit and receive Stations from a database which you
  53.          can control and customize,  and  to  plot  the  calculated  values
  54.          graphically  if  you  have  a  color graphics adapter. You may add
  55.          stations  to  the  supplied database using the program, or you may
  56.          use any ASCII Text Editor to add to, modify, or rearrange the data
  57.          base.
  58.  
  59.          TMUF was written in Turbo Pascal for an IBM PC or close compatible
  60.          with 256 K or more of RAM.  If  equipped  with  a  Color  Graphics
  61.          adapter, you will be able to display the calculated values  on  an
  62.          X-Y graph very similar to those published monthly in QST.  If  you
  63.          have  only  the monochrome adapter don't despair, you will instead
  64.          receive  a Table of values when requesting a graph. The Program is
  65.          able to determine if you have graphics compatible hardware. Credit
  66.          is  hereby  given  to  to  the following persons who have provided
  67.          previous  programs,  source  code, and the testing upon which TMUF
  68.          has been built.
  69.  
  70.                    Robert B. Rose, K6GKU for the original MINIMUF
  71.                    program in BASIC published  in  QST  magazine,
  72.                    December 1982.
  73.  
  74.                    Dennis    Allen,   WA5LXS  who  converted  the
  75.                    original MINIMUF to  IBM  BASIC  and  included
  76.                    the  conversion  algorithm for Flux to Sunspot
  77.                    Number.
  78.  
  79.                    J.  Scott  Douglass, K2SD for his BEAMHEAD.BAS
  80.                    which  formed  the  basis  of  the  Data  File
  81.                    included with TMUF.
  82.  
  83.                    Ed  Nance, VS6DX and the Ham community in Hong
  84.                    Kong which tested the preliminary  version  of
  85.                    TMUF and offered constructive comments.
  86.  
  87.                    Ed  Bachmann for his EBMENU.PAS which was used
  88.                    to implement the Menus for TMUF.
  89.  
  90.                    Donald  R.  Ramsey  and Larry Romero for their
  91.                    TURBO-UT.PAS which was used as  the  basis  of
  92.                    the formatted inputs.
  93.  
  94.          
  95.  
  96.  
  97.  
  98.  
  99.  
  100.          If  desired,  the program may be initiated with up to two optional
  101.          parameters on  the  command  line  to  automatically  set  desired
  102.          selections. This will bypass the introductory screen and result in
  103.          an automatic calculation/plot. The  first  parameter  is  normally
  104.          solar  flux  value  and  the second is the desired receive Station
  105.          Call Letters or Prefix. Either or both of these parameters may  be
  106.          specified by typing them on the command line immediately after the
  107.          program name separated by a space. If no parameters are specified,
  108.          the  program  will  default  to  a  solar  Flux of 80 and with the
  109.          Receive  Station set to the second record in the Data base. If you
  110.          wish  to  specify  the  receive  station without specifying a flux
  111.          value you may do so. The Transmit Station will always  be  set  to
  112.          the first entry in the Data Base.
  113.  
  114.          If  either  of  the two parameters are specified, the program will
  115.          automatically go into the Plot mode upon entry, and  will  shortly
  116.          after  display the graph of the specified data. If at any time you
  117.          specify or select a station which is not in  the  data  base,  you
  118.          will be so informed, and may make another selection.
  119.  
  120.          For  anyone  who may not know how to obtain the value of the Solar
  121.          Flux, it is broadcast by the National Bureau  of  Standards  radio
  122.          station  WWV  at 18 minutes after each hour. WWV broadcasts in the
  123.          high frequency bands may be received on 2.5, 5.0, 10.0,  15.0  and
  124.          20.0 mHz.
  125.  
  126.          The program features a Lotus style menu for  all  selections.  You
  127.          may make your selections by typing the first letter of the desired
  128.          selection, or by moving with the cursor keys or space bar  to  the
  129.          desired selections and pressing Return. The Menu selections are:
  130.  
  131.          Plot           Plots  the  MUF/FOT  of the current settings if you
  132.                         have a color graphics adapter. If not a table  will
  133.                         be displayed as described below.
  134.  
  135.          Table          Displays  a  table  of  the  MUF/FOT of the current
  136.                         settings. All information available on the Plot  is
  137.                         also  displayed in the table. For some applications
  138.                         the table may be preferable, and the table does not
  139.                         require the color graphics adapter.
  140.  
  141.          Add_a_Station  Permits  adding  new  Stations  to  the  Data base.
  142.                         Stations added in this manner are appended  to  the
  143.                         end of the data base file. You will  be  asked  for
  144.                         the  Call or Prefix of the station, the city, state
  145.                         or  country,  and the latitude and longitude. Refer
  146.                         to the  description  of  the  data  file  for  more
  147.                         information.
  148.  
  149.          Date           Permits  changing  the Date of the Calculation. The
  150.                         default date is the DOS date as read by the program
  151.                         upon  entry.  You  may change the date to any valid
  152.                         date.  TMUF will not accept invalid dates. The year
  153.                         portion  is  used only in checking validity of Leap
  154.                         years  and  has  no  bearing  on  the  actual   MUF
  155.                         calculations!  The  primary  use  of the date is to
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.                         calculate  the  solar zenith angle at the mid-point
  164.                         of  the  path.  This has a very important effect on
  165.                         the MUF as you will find  if  you  experiment  with
  166.                         various dates. You will find a marked difference in
  167.                         the behavior of the  path  during  the  winter  and
  168.                         summer periods.
  169.  
  170.          Flux           Permits changing the value of the solar flux. Solar
  171.                         Flux  may  range  between  65  and  245.  This   is
  172.                         converted  to Smoothed International Sunspot Number
  173.                         in the TMUF program. Flux is  used  instead  of
  174.                         sunspot number as the input unit due to the readily
  175.                         available flux data from WWV.
  176.  
  177.          Select         Allows  you  to  Select a new station from the data
  178.                         base as either the Transmit or the Receive Station.
  179.                         You  will  first  be  asked for the Station Call or
  180.                         Prefix. You may type over the data in the field, or
  181.                         you  may clear the field by pressing the <ESC> key.
  182.                         Your entry need  not  be  complete.  If  you  can't
  183.                         remember the complete call or prefix, enter as much
  184.                         of  the leading part as you are sure of. The select
  185.                         function is not case sensitive, so you  don't  have
  186.                         to  worry  about  whether you are in upper or lower
  187.                         case  mode.  Partial  matches  are   allowed,   but
  188.                         remember that the program  will  select  the  FIRST
  189.                         entry which matches your input.  After  entering  a
  190.                         value  in the Call field, press return and you will
  191.                         be asked to enter  either  a  R  to  designate  the
  192.                         Selected  call  as  the  Receive station, or a T to
  193.                         designate it as the Transmit station.
  194.  
  195.          End           Ends the Program and returns you to DOS
  196.  
  197.  
  198.          The  Data  Base  itself  is  a  simple sequential file with fields
  199.          delimited by  commas  in  the  manner  of  a  BASIC  program  DATA
  200.          statement.  In  Fact  this  file  was  generated  from  BASIC DATA
  201.          statements included in the Public Domain Beam Heading  Calculation
  202.          Program BEAMHEAD.BAS. The fields are as follows:
  203.  
  204.          Field 1:  Call Sign or Prefix - Free form Upper Case 20 characters
  205.                                          Maximum.
  206.  
  207.          Field 2:  City                - Free form Upper Case 20 characters
  208.                                          Maximum.
  209.  
  210.          Field 3:  State or Country    - Free Form Upper Case 20 characters
  211.                                          Maximum.
  212.  
  213.          Field 4:  Latitude            - Numbers  and sign only, entered as
  214.                                          a decimal number,  North  Latitude
  215.                                          is  positive,  South  Latitude  is
  216.                                          negative, nine characters Maximum,
  217.                                          Absolute Value must not exceed 90,
  218.                                          Plus Sign not Required.
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.          Field 5:  Longitude           - Numbers  and sign only, entered as
  228.                                          a decimal number,  West  Longitude
  229.                                          is  positive,  East  Longitude  is
  230.                                          negative, nine characters Maximum,
  231.                                          Absolute  Value  must  not  exceed
  232.                                          180, Plus Sign not Required.
  233.  
  234.          Being  a  sequential  text  file, the Data Base may be Edited with
  235.          almost  any  ASCII Text Editor. The order of entry of the majority
  236.          of the file as furnished  here  is  alphabetical.  This  is  quite
  237.          arbitrary and may be changed by you if you desire. Only two of the
  238.          entries are important as to their order, and these are  the  first
  239.          and second. The program will always use the  first  entry  in  the
  240.          Data File for the default  transmit  station.  Hence,  you  should
  241.          place  your  own station as the first entry in the Data File. Also
  242.          the program will use the second entry in  the  Data  File  as  the
  243.          default  receive  station unless it receives contrary instructions
  244.          via the command line. Therefore the second entry in the Data  File
  245.          should  be selected as the station of your primary interest. Other
  246.          entries may be in any order, but as  the  search  for  a  call  is
  247.          sequential, you might want to move  the  stations  you  frequently
  248.          plot  to  the first part of the file, immediately after the second
  249.          entry (Receive station). This will speed up the selection process.
  250.          Duplicate  Entries  are  allowed,  and  you  will find many in the
  251.          supplied data base, but due to the Sequential search method,  only
  252.          the  First occurrence can be selected. Also, since partial matches
  253.          are allowed in the selection portion of  the  program,  the  first
  254.          entry  matching  the partial entry will be selected, i.e., if both
  255.          UA1 and UA9 are in the data file and you select Ua, the  first  UA
  256.          entry  will  be  chosen. Note that selection in the program is not
  257.          case sensitive.
  258.  
  259.          The mathematics of the MUF calculation used in this program are as
  260.          nearly as possible exactly the same as the BASIC program described
  261.          in  the  QST  article. There's a whole lot of Trigonometric number
  262.          crunching going on, for each hop, for each hour of the  selection,
  263.          so  be patient. Actually it's not too bad, requiring at most about
  264.          30 seconds to calculate a new 2 hop path (All paths are treated as
  265.          either one or two hops). If you wish to  compare  the  results  of
  266.          TMUF with the original MINIMUF, the two stations used in  the  QST
  267.          article example are included as TEST1 & TEST2 in the data Base. Be
  268.          sure  and  set  the  Flux  to  156  and the date to 17 Oct for the
  269.          comparison.  As supplied, TEST1 and TEST2 are the first and second
  270.          entries, and will default to the transmit and receive stations.
  271.  
  272.          The  calculated  data  including  the  selected  Parameters,  Path
  273.          Distance, Beam Heading from the  Transmit  Station,  and  computed
  274.          number of Hops are displayed in either Graphical or Tabular format
  275.          by choosing PLOT or TABLE from the Menu. If no changes  have  been
  276.          made  to  Station,  Date,  or Flux since the last calculation, the
  277.          Display is almost Instantaneous, as the data does not have  to  be
  278.          recalculated.
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.          If you wish to print the Graphical  Output  of  TMUF,  you  should
  287.          issue the DOS command GRAPHICS before  running  the  Program,  and
  288.          then  use  the  Print Screen Function (depress the SHIFT and PrtSc
  289.          keys  simultaneously)  to produce the printout. Note that the call
  290.          to GRAPHICS is is included in the MUF.BAT file.
  291.  
  292.          The TMUF program includes the following Files:
  293.  
  294.  
  295.          TMUF.COM       This is the Actual Program.
  296.  
  297.          TMUF.DAT       This is the Data Base of Calls and locations.
  298.  
  299.          TMUF.DOC       This File which you are presumably reading!
  300.  
  301.          4X6.FON        This is a font file required by  the  Turbo  Pascal
  302.                         Graphics  routines.  If  you  are not equipped with
  303.                         Graphics Hardware, you do not need this file.
  304.  
  305.          8X8.FON        This is also a font file required by  the  Program.
  306.                         Likewise if you do not have Graphics hardware,  you
  307.                         will not need this File.
  308.  
  309.          ERROR.MSG      This is the Pascal Error Message File.
  310.  
  311.          MUF.BAT
  312.                         This is  a  batch  file  used  to  start  TMUF.  It
  313.                         includes  the  call to GRAPHICS.COM and handles the
  314.                         command line variables for TMUF.COM.
  315.  
  316.          AUTOEXEC.BAT   Optional, included in case you wish to boot and run
  317.                         the program from diskette. You  will  need  to  add
  318.                         this file to a system formatted diskette along with
  319.                         the TMUF.COM and TMUF.DAT files.  You  should  also
  320.                         add  the DOS files GRAPHICS.COM and MODE.COM and If
  321.                         you  have  a clock/ calendar board, you should copy
  322.                         your  file  for  setting the DOS date/time onto the
  323.                         diskette  and  replace the DATE and TIME statements
  324.                         with the proper command for Setting the  DOS  clock
  325.                         from  your  Clock  board.  This  Batch file ends by
  326.                         calling the MUF.BAT file described above.
  327.  
  328.  
  329.          The TMUF Program supports Pathing. In order to make sure that TMUF
  330.          can  find  the  necessary files, you should install the files in a
  331.          subdirectory  supported  by your SET PATH command. Provided you do
  332.          this,  TMUF  should  be  able to find its files regardless of what
  333.          directory you are  in  when  you  call  it.  The  files  TMUF.COM,
  334.          TMUF.DAT, 4X6.FON, 8X8.FON, and ERROR.MSG must all be located in a
  335.          directory or subdirectory which is listed in the PATH  environment
  336.          in order for the program to be able to locate the necessary files.
  337.          If you fail to do this, you will receive an error message  to  the
  338.          effect that the program can  not  locate  the  required  file.  If
  339.          unable to locate  the  data  base  file,  TMUF  will  default  the
  340.          transmit and receive stations to TEST1 and TEST2.
  341.                                                                        73 s
  342.  
  343.                                                         Jim Harrison, W4HSR
  344.